package com.bdmc.device.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;


/**
 * 血糖数据对象 dev_glucose_data
 *
 * @author bdmc
 * @date 2023-07-31
 */
@Data
@Accessors(chain = true)
@TableName("dev_glucose_data")
public class DevGlucoseData {

    private static final long serialVersionUID=1L;

    /**
     * 
     */
    @TableId(value = "glucose_id")
    private Long glucoseId;
    /**
     * 设备ID，必须
     */
    private String imei;
    /**
     * 血糖，例如 9.7
     */
    private Long bloodGlu;
    /**
     * 状态，可选
     */
    private String bgState;
    /**
     * 测量时间，可选
     */
    private String testTime;

    private LocalDateTime dataTime;
}
